﻿<Window
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:ed="http://schemas.microsoft.com/expression/2010/drawing"
    xmlns:clr="clr-namespace:intelliSys.Management.Automation.Test"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
x:Class="intelliSys.Management.Automation.Test.MessagePrompt"
	x:Name="Window"
	Title="MainWindow"
	Width="496" Height="273" WindowStyle="None" Background="#00000000" Foreground="{x:Null}" AllowsTransparency="True" ResizeMode="NoResize" Topmost="True" WindowStartupLocation="CenterOwner" FontFamily="Segoe UI Light">
	<Window.Resources>
		<Storyboard x:Key="OnLoaded1">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="border">
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.795"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</Window.Resources>
	<Window.Triggers>
		<EventTrigger RoutedEvent="FrameworkElement.Loaded">
			<BeginStoryboard Storyboard="{StaticResource OnLoaded1}"/>
		</EventTrigger>
	</Window.Triggers>

    <Grid Margin="0">

		<Border x:Name="border" CornerRadius="10" Opacity="0" Background="Black"/>

		<Border CornerRadius="10" Margin="5,1,0,0" BorderBrush="#FF3995FF" BorderThickness="1" Background="#F20E1620" Height="272" VerticalAlignment="Center" HorizontalAlignment="Center" Width="484" Opacity="0.9">

			<Grid x:Name="LayoutRoot" Margin="0">
				<Rectangle HorizontalAlignment="Left" Height="105.702" Margin="38,-2,0,0" StrokeThickness="7" VerticalAlignment="Top" Width="140">
					<Rectangle.Stroke>
						<LinearGradientBrush EndPoint="0.017,0.498" StartPoint="1.05,0.514">
							<GradientStop Color="#00104F8E" Offset="0"/>
							<GradientStop Offset="1"/>
							<GradientStop Color="White" Offset="0.505"/>
							<GradientStop Color="#0033679D" Offset="0.992"/>
						</LinearGradientBrush>
					</Rectangle.Stroke>
					<Rectangle.OpacityMask>
						<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
							<GradientStop Color="Black" Offset="0"/>
							<GradientStop Offset="0.057"/>
						</LinearGradientBrush>
					</Rectangle.OpacityMask>
				</Rectangle>
				<Button x:Name="OK" Click="OK_Click"  Margin="20.666,0,0,13" Content="确定" Template="{DynamicResource ButtonControlTemplate1}" BorderBrush="{x:Null}" Background="{x:Null}" Foreground="White" HorizontalAlignment="Left" Width="70.5" Height="23" VerticalAlignment="Bottom"/>
				<Button x:Name="Cancel" Click="Cancel_Click"  Margin="0,0,20.666,13" Content="取消" Template="{DynamicResource ButtonControlTemplate1}" BorderBrush="{x:Null}" Background="{x:Null}" Foreground="White" HorizontalAlignment="Right" Width="70.5" Height="23" VerticalAlignment="Bottom"/>
				<TextBlock x:Name="Summary" Margin="62.98,30.504,34,0" TextWrapping="Wrap" Text="TextBlock" FontSize="18.667" Height="26.202" VerticalAlignment="Top" Foreground="White"/>
				<TextBox x:Name="ContentBox" Margin="62.98,78.834,45.02,58.464" TextWrapping="Wrap" FontSize="13.333" Foreground="White" Style="{DynamicResource TextBoxStyle}" Background="{x:Null}" BorderThickness="1"/>
				<Image Margin="20.666,22.5,0,0" Source="logo.png" Stretch="Fill" HorizontalAlignment="Left" Height="41.202" VerticalAlignment="Top" Width="38.314"/>
				<ProgressBar x:Name="progressBar" Margin="34,131,34,114" Style="{DynamicResource PerformanceProgressBar}" IsIndeterminate="True" Visibility="Hidden">
					<ProgressBar.Foreground>
						<SolidColorBrush Color="{DynamicResource MouseOverClr}"/>
					</ProgressBar.Foreground>
				</ProgressBar>
			</Grid>
		</Border>
	</Grid>
</Window>